#include<iostream>

using namespace std;

int main()
{
    int h; cin >> h;
    printf("%.1f",(h - 100) * 0.9 * 2 );
    return 0;
}